package interview.javabase.thread.runnable;

/**
 * @author 大硕
 * 2019-03-28 9:51 PM
 **/
public class RunnableDemo {

    public static void main(String[] args) {
        MyRunnable mr1 = new MyRunnable("t1");
        MyRunnable mr2 = new MyRunnable("t2");
        MyRunnable mr3 = new MyRunnable("t3");

        Thread t1 = new Thread(mr1);
        Thread t2 = new Thread(mr2);
        Thread t3 = new Thread(mr3);

        t1.start();
        t2.start();
        t3.start();
    }
}